#ifndef COMM_BLUETOOTH_H
#define COMM_BLUETOOTH_H
#include <udk_types.h>
#include <commapi.h>

UDK_HANDLE 
	COMM_BLUETOOTH_INIT(PST_COMM_PARAMS param, const char *address, unsigned short PortNum, int speed);

int 
	COMM_BLUETOOTH_CLOSE(UDK_HANDLE handle);

int 
	COMM_BLUETOOTH_SEND(UDK_HANDLE handle,int Command, char *Data, int Count);

int 
	COMM_BLUETOOTH_READ(UDK_HANDLE handle,int *Command,  char *Data, int *Count, int TimeOutMS);

int 
	COMM_BLUETOOTH_PREREAD(UDK_HANDLE handle);

int 
	COMM_BLUETOOTH_TERMINALREAD(UDK_HANDLE handle);

const char * 
	COMM_BLUETOOTH_NAME(UDK_HANDLE handle);

int 
	COMM_BLUETOOTH_ERROR(UDK_HANDLE handle);

#endif
